 //**************************************************
 // Novel.java              Author:20172323wyh
 // 
 // 创建阅读材料的子类，定义一些特有信息。
 //**************************************************

 public class Novel extends ReadingMaterial
 {
    private String style;

    public Novel(String names, String words, int numPages, String s)
    {
       super(names, words, numPages);
       style = s;
    }

    public String toString()
    {
       return name + "\n" + Keyword + "\n" + pages + "\n" + style;
    }
 }
